package cn.edu.pku.tools;

/**
 * @author vector
 *
 */
public class VoiceChatMessage extends ChatMessage{

	//用来存语音和图片的地址
	String filepath;
	/**
	 * @param type
	 * @param timeStamp
	 * @param index
	 * @param filepath
	 */
	public VoiceChatMessage(String id, int type, String timeStamp, String name,String filepath) {
		
		super(id,type, timeStamp,name);
		this.filepath = filepath;
	}

	public String getFilePath(){
		return this.filepath;
	}
	@Override
	public void setMessage(Object mesage) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Object getMessage() {
		// TODO Auto-generated method stub
		return null;
	}

}
